package cn.juque.systemservice.entity;

import cn.juque.systemservice.entity.base.BaseEntity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.util.Date;

/**
 * @author JUQUE
 * @version 1.0.0
 * <li>simple-generator</li>
 * <li></li>
 * @date 2020-07-12 21:04:22
 **/
@Data
@TableName(value = "SYS_ORG_PARAM_INFO")
public class OrgParamInfo extends BaseEntity {

    /**
     * 机构参数主键
     */
    @TableId(value = "ORG_PARAM_ID", type = IdType.ASSIGN_UUID)
    private String orgParamId;

    /**
     * 机构ID
     */
    @TableField(value = "ORG_ID")
    private String orgId;

    /**
     * 参数编码
     */
    @TableField(value = "PARAM_CODE")
    private String paramCode;

    /**
     * 参数名称
     */
    @TableField(value = "PARAM_NAME")
    private String paramName;

    /**
     * 参数值
     */
    @TableField(value = "PARAM_VALUE")
    private String paramValue;

    /**
     * 创建人
     */
    @TableField(value = "CREATE_USER_ID", fill = FieldFill.INSERT)
    private String createUserId;

    /**
     * 创建日期
     */
    @TableField(value = "CREATE_DATE", fill = FieldFill.INSERT)
    private String createDate;

    /**
     * 创建门店
     */
    @TableField(value = "CREATE_ORG_ID", fill =  FieldFill.INSERT)
    private String createOrgId;

    /**
     * 创建时间
     */
    @TableField(value = "CREATE_TIME", fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 更新人
     */
    @TableField(value = "UPDATE_USER_ID", fill = FieldFill.INSERT_UPDATE)
    private String updateUserId;

    /**
     * 更新日期
     */
    @TableField(value = "UPDATE_DATE", fill = FieldFill.INSERT_UPDATE)
    private String updateDate;

    /**
     * 更新门店
     */
    @TableField(value = "UPDATE_ORG_ID", fill = FieldFill.INSERT_UPDATE)
    private String updateOrgId;

    /**
     * 更新时间
     */
    @TableField(value = "UPDATE_TIME", fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

}
